Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add dependencies to setup.py, remove numpy2.0 install dep #202

Merged
merged 13 commits into from
Jul 4, 2024
Merged

Conversation

smiet
Copy link
Collaborator

@smiet smiet commented Jun 28, 2024

The Utilities do not need python2.0 as an install dependency, as they have no binary interface.

Also the requirements are better specified in setup.py than requirements.txt (simsopt ci manually installs requirements.txt, so leaving the file for now...).

We should update the build system at some point, setup.py is deprecated and it is a matter of time before it fails.

@mbkumar do you foresee any issues in simsopt CI with the removal of numpy versioning?

@smiet smiet requested a review from mbkumar June 28, 2024 08:48
@mbkumar
Copy link
Collaborator

mbkumar commented Jun 28, 2024

Can you replace the deprecated setup.py with pyproject.toml? It shouldn't take much time. 3.8 is reaching EOL in 4 months. So can you please maintain numpy versioning in setup_requires?

@smiet
Copy link
Collaborator Author

smiet commented Jun 28, 2024

@mbkumar The python build system is something that I still have to learn about, excuse my ignorance. Can I rely on your expertise for some help? I have the following questions:

  • is calling the setup.py from pyproject.toml with setuptools.build_meta also about to be deprecated?
  • what should be moved to the pyproject.toml file?
  • when you say 'maintain numpy versioning in setup_requires, is that to be specified in the .toml file or in the setup.py as a kwarg to setup()?

@smiet smiet merged commit 2dc8406 into master Jul 4, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants